﻿<%@ Page Language="C#" Title="Drinks" AutoEventWireup="true" CodeFile="MobileDrinks.aspx.cs" MasterPageFile="MobileMasterPage.master" Inherits="MobileDrinks" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    </asp:Content>
   
<asp:Content ID="Content2" ContentPlaceHolderID="MWSContentPlaceHolder" Runat="Server">   
    <div id="container">

	<div id="mainheader" style="color: #000000"> Add Drinks
        <img alt="" src="Images/TastyPizzariaLogo.png" style="height: 80px" align="middle" /></div>
        
    <div id="maincontent" align="center"> 

        &nbsp;<img alt="" src="Images/Drinks1.JPG" style="height: 74px; width: 65px" />Select Drinks Below<br />
        <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1" DataTextField="DESCRIP" DataValueField="DESCRIP" Height="20px" Width="160px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:6118_fa12_TeamCConnectionString %>" SelectCommand="SELECT [DESCRIP] FROM [PRODUCTS] WHERE ([TYPE] = @TYPE)">
            <SelectParameters>
                <asp:ControlParameter ControlID="DropDownList1" DefaultValue="2" Name="TYPE" PropertyName="SelectedValue" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />
        <asp:Button ID="Button1" runat="server" Text="Add to Order" 
            onclick="Button1_Click" />
        <br />
        
    </div>
    
    </div>
    
    </asp:Content>
